<?php

namespace App\Http\Requests\Admin;

use Illuminate\Foundation\Http\FormRequest;

class VideoLibraryCheckRequest extends FormRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'name' => 'bail|required|string',
            'total_size' => 'bail|nullable|numeric',
            'total_second' => 'bail|nullable|numeric',
            'video_format' => 'bail|nullable|string',
            'md5' => 'bail|required|string',
        ];
    }
}
